package com.fjw.service.impl;

import com.fjw.dao.PermissionMapper;
import com.fjw.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * @author fjw
 * @version 1.0
 * @date 2019/11/1 15:24
 */
@Service
public class PermissionServiceImpl implements PermissionService {

    @Autowired
    private PermissionMapper permissionMapper;

    @Override
    public Set<String> findPermissionByUsername(String Username) {
        return permissionMapper.findPermissionByUsername(Username);
    }
}
